package com.shisfish.star.api;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author huangshun
 * @date 2025-06-16 16:02
 * @description:
 */
@RestController
@RequestMapping("/test")
public class TestController {

    @GetMapping("/{test}")
    public String test(@PathVariable("test") String test) {
        return test;
    }

}
